﻿<%@ Control Language="C#" Inherits="FSC.HaNamAPApplication.HNAP_DocDetail, FSC.HaNamAPApplication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9f1bbb5b0477b356"  compilationMode="Always" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>

<%@ Register src="HNAP_LeftNav.ascx" tagname="LeftNav" tagprefix="uc1" %>

<link rel="stylesheet" href="~/_layouts/CSS/tabs/themes/base/jquery.ui.all.css" /> <!-- ~/_layouts/CSS/ -->
<script type="text/javascript" src="~/_layouts/CSS/tabs/jquery-1.5.1.js"></script> 
<script type="text/javascript"  src="~/_layouts/CSS/tabs/jquery.ui.core.js"></script> 
<script type="text/javascript"  src="~/_layouts/CSS/tabs/jquery.ui.widget.js"></script> 
<script type="text/javascript"  src="~/_layouts/CSS/tabs/jquery.ui.tabs.js"></script> 

<script type="text/javascript">
    $(function() {
        $("#tabs").tabs();
    });
</script>

<div id="leftpanecontentbox">
	<div class="topline"></div>
	<div id="leftcontent" class="left">
		<uc1:LeftNav ID="LeftNav1" runat="server" />
	</div>
	<div id="primarycontent2" class="left" style="margin-bottom:20px;">
		<div class="moduletitle">Chi tiết Văn Bản</div>

		<div class="apdetailtitle"><asp:Label ID="lblName" runat="server" Text=""></asp:Label></div>        
        
        <div id="tabs"> 
	                    <ul> 
		                    <li><a href="#tabs-1">Thông tin</a></li> 
		                    <li><a href="#tabs-2">TTHC liên quan</a></li> 
	                    </ul> 
	                    <div id="tabs-1"> 
		                    <table cellspacing="5" cellpadding="0" border="0" class="tblGray">
			                    <tr class="trodd">
		                            <td style="font-weight:bold; width:150px">Cơ quan thực hiện:</td>
		                            <td>
                                        <asp:Label ID="lblOffice" runat="server" Text=""></asp:Label></td>
	                            </tr>
                                <tr>
		                            <td style="font-weight:bold;">Lĩnh vực:</td>
		                            <td>
                                        <asp:Label ID="lblField" runat="server" Text=""></asp:Label></td>
	                            </tr>
	                            <tr class="trodd">
	                                <td style="font-weight:bold;">Loại văn bản:</td>
	                                <td>
                                        <asp:Label ID="lblDocType" runat="server" Text=""></asp:Label></td>
	                            </tr>
	                            <tr>
	                                <td style="font-weight:bold;">Tệp đính kèm:</td>
	                                <td>
                                        <asp:HyperLink ID="hplAttachFile" runat="server" Font-Bold="true"></asp:HyperLink>
                                    </td>
	                            </tr>
	                            <tr class="trodd">
	                                <td style="font-weight:bold;">Số văn bản:</td>
	                                <td>
	                                    <asp:Label ID="lblDocNumber" runat="server" Text=""></asp:Label>
                                    </td>
	                            </tr>
	                        </table>
	                    </div> 
	                    <div id="tabs-2"> 
		                    <asp:Repeater ID="rptAP" runat="server">
	                            <ItemTemplate>
	                                <div style="margin-bottom:5px">
	                                    <%#number++ %>. <asp:HyperLink ID="hplAttachFile" runat="server" NavigateUrl='<%# CurrentUrlWithoutParam + "?page=APDetail&aid=" + Eval("ID") %>'><span style="font-weight:bold"><%#Eval("Name") %></span></asp:HyperLink>
	                                </div>
	                            </ItemTemplate>
	                        </asp:Repeater>
	                    </div> 
                    </div>
		
		<div><a href="<%=CurrentUrlWithoutParam + "?page=Doc" %>" title="">[Quay trở lại]</a></div>
		
	</div>
	<div class="clear"></div>
</div>